﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="Brushes.xaml"/>
		<ResourceDictionary Source="MinimizeIcon.xaml"/>
		<ResourceDictionary Source="CloseIcon.xaml"/>
		<ResourceDictionary Source="MaximizeIcon.xaml"/>
	</ResourceDictionary.MergedDictionaries>
    
    <Grid SnapsToDevicePixels="true" x:Key="Grip">
		<Path HorizontalAlignment="Right" Margin="0,0,2,2" VerticalAlignment="Bottom" Data="M 11,0 L 12,0 L 12,12 L 0,12 L 0,11 z">
			<Path.Fill>
				<DrawingBrush TileMode="Tile" Viewbox="0,0,4,4" ViewboxUnits="Absolute" Viewport="0,0,4,4" ViewportUnits="Absolute">
					<DrawingBrush.Drawing>
						<DrawingGroup>
							<GeometryDrawing Brush="{StaticResource {x:Static SystemColors.ControlDarkBrushKey}}" Geometry="M 0,0 L 2,0 L 2,1 L 1,1 L 1,2 L 0,2 z M 2,2 L 3,2 L 3,1 L 4,1 4,3 L 3,3 L 3,4 L 1,4 L 1,3 L 2,3 z"/>
							<GeometryDrawing Brush="{StaticResource {x:Static SystemColors.ControlLightLightBrushKey}}" Geometry="M 0,3 L 1,3 L 1,4 L 0,4 z M 1,2 L 2,2 L 2,3 L 1,3 z M 2,1 L 3,1 L 3,2 L 2,2 z M 3,0 L 4,0 L 4,1 L 3,1 z "/>
						</DrawingGroup>
					</DrawingBrush.Drawing>
				</DrawingBrush>
			</Path.Fill>
		</Path>
	</Grid>

</ResourceDictionary>